package com.whsxt.vo;

import com.whsxt.domain.UserAddr;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Author: caoqingwen
 * @CreateTime: 2021-03-25 17:08
 * @Description:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "订单的确认对象")
public class OrderConfirmResult {


    @ApiModelProperty(value = "用户默认收货地址")
    private UserAddr userAddr;

    @ApiModelProperty(value = "用户的优惠券")
    private List<Long> coupList;

    @ApiModelProperty(value = "实际的订单总金额")
    private BigDecimal actualTotal;

    @ApiModelProperty(value = "订单总金额")
    private BigDecimal total;

    @ApiModelProperty(value = "订单商品数量")
    private Integer totalCount;

    @ApiModelProperty(value = "运费")
    private BigDecimal yunfei;

    @ApiModelProperty(value = "商品信息")
    private List<OrderVo> shopCartOrders;


}
